package com.github.McPlugin.event;


import com.github.McPlugin.util.Task.TasksTool;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockPlaceEvent;

public class BlocksEvent implements Listener {

    @EventHandler
    public void BlockBuild(BlockPlaceEvent event) {
        TasksTool.TaskEvent(event);
    }


    @EventHandler
    public void BlockBreak(BlockBreakEvent event) {
        TasksTool.TaskEvent(event);
    }
}
